home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3vcyl2.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  779 b   |  42 lines

  1.  
  2. // JavaScript wrapper for r3vcyl2.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_VCYL2_H = 1;
  7. include("real/raytr/r3frobj.js")
  8.  
  9.  
  10. var R3CLID_VCYLINDER2 = 443;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3VCYL2A_Center = 443500;
  19. function SetR3VCYL2A_Center(value) {
  20.   R3Set(this.r3obj, R3VCYL2A_Center, value, R3TID_VECTOR, 0); 
  21. }
  22.  
  23. function GetR3VCYL2A_Center() {
  24.   return R3Get(this.r3obj, R3VCYL2A_Center, R3TID_VECTOR, 0); 
  25. }
  26.  
  27.  
  28.  
  29. function r3Vcylinder2 () { 
  30.    this.base = r3God;
  31.    if(arguments.length) {
  32.       this.base(R3CLID_VCYLINDER2, arguments);
  33.    }
  34.    // Methods
  35.  
  36.    // Attributes
  37.    this.GetCenter=GetR3VCYL2A_Center;
  38.    this.SetCenter=SetR3VCYL2A_Center;
  39. }
  40.  
  41. r3Vcylinder2.prototype=new r3Frobject;
  42. // r3vcyl2.h_H